package com.system.connect.springboot_flowers.dto;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class PrivatemessagesDto {

    /**
     * 发送者ID
     */
    private Integer senderId;
    /**
     * 发送者头像
     */
    private String senderAvatarUrl;
    /**
     * 发送者昵称
     */
    private String senderNickname;

    /**
     * 接收者ID
     */
    private Integer receiverId;

    /**
     * 接收者头像
     */
    private String receiverAvatarUrl;
    /**
     * 接收者昵称
     */
    private String receiverNickname;

    /**
     * 消息内容
     */
    private String content;

    /**
     * 是否已读
     */
    private Boolean isRead;

    /**
     * 创建时间
     */
    private LocalDateTime createdAt;



}
